<?php


namespace App\Http\Controllers\admin\model;


use Illuminate\Support\Facades\DB;

class ScreenshotModel
{
    public static function queryGet($where,$field){
        return DB::table('t_screenshot')->where($where)->get($field);
    }

    public static function delete($where){
        return DB::table('t_screenshot')->where($where)->delete();
    }

    public static function queryFirst($where,$field){
        return DB::table('t_screenshot')->where($where)->first($field);
    }
}